#include <linux/page_types.h>
#include <asm/page.h>
#include <linux/pfn.h>

void *page_address(const struct page *page)
{
    void *val = page_to_pfn(page);

    val = PFN_PHYS(val);

    return __va(val);
}
